#ifndef __THREAD_H
#define __THREAD_H


#include "main.h"


extern int sub_flag;
extern int pub_flag;
extern int ble_conn_flag;


void su_hander(int signo);
void pu_hander(int signo);
void *thread_worker1_ble_wr(void *connation);
void *thread_worker2_mqtt(void *args);


#endif
